package cn.gailvlun.gll.net.apartment.member;

import cn.gailvlun.gll.net.Optional;



public class ModifyMemberReq {

    public static ModifyMemberReq isAgree(int memberId, boolean isAgree) {
        ModifyMemberReq modifyMemberReq = new ModifyMemberReq();
        modifyMemberReq.setMember_id(memberId);
        modifyMemberReq.setIs_agree(isAgree);
        return modifyMemberReq;
    }

    public static ModifyMemberReq isPromise(int memberId, boolean isPromise) {
        ModifyMemberReq modifyMemberReq = new ModifyMemberReq();
        modifyMemberReq.setMember_id(memberId);
        modifyMemberReq.setIs_promise(isPromise);
        return modifyMemberReq;
    }

    private int member_id; 
    @Optional
    private Boolean block; 
    @Optional
    private String cpname; 
    @Optional
    private String nickname; 
    @Optional
    private Boolean is_agree; 
    @Optional
    private Boolean is_promise; 

    public int getMember_id() {
        return member_id;
    }

    public void setMember_id(int member_id) {
        this.member_id = member_id;
    }

    public Boolean getBlock() {
        return block;
    }

    public void setBlock(Boolean block) {
        this.block = block;
    }

    public String getCpname() {
        return cpname;
    }

    public void setCpname(String cpname) {
        this.cpname = cpname;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Boolean getIs_agree() {
        return is_agree;
    }

    public void setIs_agree(Boolean is_agree) {
        this.is_agree = is_agree;
    }

    public Boolean getIs_promise() {
        return is_promise;
    }

    public void setIs_promise(Boolean is_promise) {
        this.is_promise = is_promise;
    }
}
